package com.company.cloud.user.modules.app.models;

import javax.validation.constraints.NotNull;


import com.company.common.server.constant.LoginThirdChannelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ThirdLoginParam {
	
	@ApiModelProperty(value = "第三方渠道", required = true)
	@NotNull(message = "第三方渠道不能为空")
	private LoginThirdChannelEnum channel;

	@ApiModelProperty(value = "第三方标识", required = true)
	@NotNull(message = "第三方标识不能为空")
	private String openId;
	
	
	private boolean isRegUser;

}
